<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>图片切换</title>
    <style>
        * {
            margin: 0px;
            padding: 0px;
        }

        #outer {
            width: 500px;
            margin: 0 auto;
            padding: 10px;
            background-color: #00ffff;
            text-align: center;
        }
    </style>
</head>
<body>
<div id="outer">
    <img src="Img/1.jpg">
    <button id="prev">上一张</button>
    <button id="next">下一张</button>
</div>
</body>

</html>